package cn.edu.gzgs.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 用户角色批量分配DTO
 *
 * @author Zyf
 */
@Data
@Schema(description = "用户角色批量分配DTO")
public class UserRoleAssignDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "用户ID列表", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "用户ID列表不能为空")
    private List<Long> userIds;

    @Schema(description = "角色ID列表", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "角色ID列表不能为空")
    private List<Long> roleIds;
} 